package Q4;

import java.io.Serializable;

public class User implements Serializable {
    private static final long serialVersionUID = -2456098105219660370L;

    private String userName;
    private String password;
//构造
    public User(String userName, String password) {
        super();
        this.userName = userName;
        this.password = password;
    }
    public User() {
        super();
    }


    //get和set
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }

}
